package com.design.observer;

public class MinusOperation implements Expression {

	private Expression e1;
	private Expression e2;

	public MinusOperation(Expression e1, Expression e2) {
		this.e1 = e1;
		this.e2 = e2;
	}

	@Override
	public int interpreter(Context context) {
		return e1.interpreter(context) - e2.interpreter(context);
	}

}
